﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using Csla;
using Csla.Data;

namespace BO
{

    [Serializable()]
    public partial class UserReport:BusinessBaseEx
    {
        public UserReport()
        {
            this.Clear();
        }
         
        
    #region primary field
       
         private static PropertyInfo<Int32> IDProperty=RegisterProperty( typeof(UserReport), new PropertyInfo<Int32>("ID",true));
       
        
         public Int32 ID
        { 
            get{return GetProperty(IDProperty);}
            set{SetProperty(IDProperty, value); }
        }
       
         private static PropertyInfo<String> ReportNameProperty=RegisterProperty( typeof(UserReport), new PropertyInfo<String>("ReportName",false));
       
        
         public String ReportName
        { 
            get{return GetProperty(ReportNameProperty);}
            set{SetProperty(ReportNameProperty, value); }
        }
       
         private static PropertyInfo<String> ReportSqlProperty=RegisterProperty( typeof(UserReport), new PropertyInfo<String>("ReportSql",false));
       
        
         public String ReportSql
        { 
            get{return GetProperty(ReportSqlProperty);}
            set{SetProperty(ReportSqlProperty, value); }
        }
    #endregion 
       
        public override string GetTableName()
        {
            return "UserReport";
         }
        
    
    
    }
}